# -*- coding: utf-8 -*-
# @Time : 2022/4/9 20:43
# @Author : Liuqing
# @File : 17_链式函数调用.py
# @Software : PyCharm
def add(a, b):
    return a + b


def substract(a, b):
    return a - b


if __name__ == '__main__':
    a, b = 4, 5
    print((substract if a > b else add)(a, b))
